package com.ac.service;

import com.ac.common.ServerResponse;
import com.ac.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IUserService {

    ServerResponse<List<User>> selectAll();

    ServerResponse<User> selectSingleUser(String username);

    ServerResponse addUser(User user);

    ServerResponse deleteUser(String username,String password,String email);

    ServerResponse<User> updateUserInfo(User user);

    ServerResponse getUserList(int page, int limit);


}
